package com.ln.asset.core.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhaojiaqi
 * @since 2022-04-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SupplyUser对象", description="")
public class SupplyUser implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "供应商名称")
    private String supplyName;

    @ApiModelProperty(value = "联系人")
    private String supplyUsern;

    @ApiModelProperty(value = "供应商联系电话")
    private String supplyPhone;

    @ApiModelProperty(value = "添加人")
    private String addUser;

    @ApiModelProperty(value = "新增时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    //   @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDate creatTime;


}
